export interface BdjfResponse<T> {
  success: boolean;
  isLoading: boolean;
  _originalData_?: any;
  update: (newRes: BdjfResponse<T>) => BdjfResponse<T>;
  setLoading: (data?: any) => BdjfResponse<T>;
  setError: (err: string) => BdjfResponse<T>;
  setSuccess: (data?: any) => BdjfResponse<T>;
  setEmpty: () => BdjfResponse<T>;
}
